package com.smxy.daydayup.pojo;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

/**
 * @team daydayup
 * @time 2021-12-07 16:53
 */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学生班级实体类")
@Component
public class StudentClass implements Serializable {
    @ApiModelProperty("学生班级id")
    private String studentClassId;

    @ApiModelProperty("学生所属学校")
    private String studentCollege;

    @ApiModelProperty("学生班级所属年级")
    private String studentClassGrade;

    @ApiModelProperty("学生班级所属专业")
    private String studentClassMajor;

    @ApiModelProperty("学生班级号")
    private Integer studentClassNumber;

    @ApiModelProperty("学生编号")
    private Integer studentClassIndex;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private LocalDateTime gmtModify;

    private static final long serialVersionUID = 1L;
}